package com.mine.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Integer order_id;   //订单id
    private User user;    //用户id
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private String order_time;  //下单时间
    private BigDecimal order_price; //付款总价
    private String order_state; //订单状态
    private String order_remarks; //订单备注
    private String order_adress;//地址
    private String order_phone;//联系电话
    private String order_username;//收货人
    private String order_shopstate;//发货状态
    private String order_cj_size;//餐具数量

}
